MIDICONFIG

Section: C Library Functions (3)
Index Return to Main Contents

BSD mandoc
TCLM Jan 10, 1993  

NAME

midiconfig - tclm command to get or modify the configuration values of a Standard MIDI File  

SYNOPSIS

mfileId {format | division | tracks} [value]  

DESCRIPTION

is a tclm(1) command that gets or modifies the configurations values of a Standard MIDI File.

takes three or four arguments. The first is a tclm Standard MIDI File descriptor as returned by midiread(3), or midimake(3).

The second argument specifies which configuration value to manipulate. It should be either format division or tracks The options work as follows:

format
This option allows you to get or change the format value of the Standard MIDI File, and should be either 0, 1 or 2. You cannot use format 0 if the file contains more than one track.
division
This option allows you to get or set the timing for the file in units per beat.
tracks
This option allows you to get or change the number of tracks in the file. This is how you create tracks in an empty file generated by midimake(3). You cannot specify more than one track if the MIDI file is format 0.

The final optional argument specifies that the configuration value should be changed and contains the new value. Without this argument, returns the current setting for the specified value.  

RETURN VALUES

returns the current setting of the specified value if the forth argument is missing, otherwise it returns nothing.  

SEE ALSO

tclm(1), midiread(3), midimake(3)  

AUTHORS

Mike Durian - durian@advtech.uswest.com


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUES
SEE ALSO
AUTHORS

This document was created by man2html, using the manual pages.
Time: 00:28:08 GMT, March 30, 2022